%table.asset_attributes
  - groups = fields.in_groups_of(2, false)
  - groups.each_with_index do |group, i|
    %tr
      - group.each do |field|
        = col(field.label, (i == groups.size - 1) ? :last : nil) do
          - if field.as == "text"
            = simple_format(field.render_value(entity))
          - else
            = field.render_value(entity)
        - if group.size == 1
          %th.last
          %td.last
